{include file="header.html"}
<style>
    @media screen and (max-width: 1000px) {
        .width { max-width: 150px;}
    }
    @media screen and (max-width: 320px) {
        .width { max-width: 120px;}
    }

</style>
<div class="title tc ml-10 mr-10">
    <h2>查询结果</h2>
</div>

<div class="content px-20">

    {if $list}
    <div class="mt-10"  style="padding: 0px 10px 0px 10px;" >
        <div style="float: left;">购货单位</div>
        <div style="float: right;">合同编号</div>
    </div>
    <ul class="mt-10"  style="padding: 0px 10px 0px 10px;float: left;width: 95%;" >
        {foreach item=info from=$list}
        <li  style="float: left;border: none;width: 100%;margin-top: 10px;">
            <div style="float: left;word-break: break-all;" class="width"><a href="/index.php?act=ordersearch&st=orderInfo&id={$info.order_id}" style="background: none;color: #3246CF;">{$info.sales_customer}</a></div>
            <div style="float: right;word-break: break-all;" class="width"><a href="/index.php?act=ordersearch&st=orderInfo&id={$info.order_id}" style="background: none;color: #3246CF;">{$info.agreement_no}</a></div>
        </li>
        {/foreach}
    </ul>

    {else}
    <div class="mt-10"  style="padding: 0px 10px 0px 10px;text-align: center;margin-top: 50px;" >
        未查询到符合条件的合同记录！
    </div>
    {/if}


</div>
{include file="footer.html"}